package com.crb.crm.manage.oos.baidu;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 百度云配置
 *
 * @author simon
 * @create 2018-08-15 10:44
 **/
@Slf4j
@Data
@Configuration
@PropertySource("classpath:oss/baiduOss.properties")
@ConfigurationProperties(prefix = "baidu.oss")
public class BaiduConfig {
    private String endpoint;
    private String accessKey;
    private String secretKey;
    private String bucket;
}